package com.cloud.fim.gate.bean;

import com.cloud.fim.common.Msg;
import com.cloud.fim.common.msg.AuthRequestMsg;
import com.cloud.fim.gate.container.SessionManagerHolder;
import io.netty.channel.ChannelHandlerContext;
import org.springframework.stereotype.Service;

/**
 * <p></p>
 *
 * @author GaoShuangWen
 * @since 2019-12-05 20:09
 */
@Service
public class ServerService {
    public void auth(ChannelHandlerContext ctx, AuthRequestMsg msg) {
        // 验证token
        // 更新session
        //SessionManagerHolder.createSession()
        //msg.getToken()
    }
}
